package com.wsoft.bpm.enums;

/**
 * 可执行结果
 *
 * @Author zhonglj
 * @Date 2024-09-19 15:38
 */
public enum ExecutableOperation {
    /**
     * 同意
     */
    AGREE("KZXJG_TY", "同意"),
    /**
     * 拒绝
     */
    REFUSE("KZXJG_JJ", "拒绝"),
    /**
     * 退回上一级
     */
    BACK_ONE("KZXJG_THSYJ", "退回上一级"),
    /**
     * 退回指定节点
     */
    BACK_SPECIFIED("KZXJG_THZDJD", "退回指定节点"),
    /**
     * 退回制单人
     */
    BACK("KZXJG_THZDR", "退回制单人"),
    /**
     * 驳回
     */
    REJECT("KZXJG_BH", "驳回"),
    /**
     * 加签人先审
     */
    SIGN_THEN_APPROVAL("KZXJG_JQXS", "加签人先审"),
    /**
     * 加签人后审
     */
    APPROVAL_THEN_SIGN("KZXJG_JQHS", "加签人后审"),
    /**
     * 转签
     */
    ASSIGN("KZXJG_ZQ", "转签"),
    /**
     * 知会
     */
    NOTICE("KZXJG_ZH", "知会");

    private String value;
    private String description;

    ExecutableOperation(String value, String description) {
        this.value = value;
        this.description = description;
    }

    public String getValue() {
        return value;
    }

    public String getDescription() {
        return description;
    }
}
